#ifndef EGG_CAMERAACTOR_H
#define EGG_CAMERAACTOR_H

#include "TransformActor.h"

namespace egg{

    class CameraActor : public TransformActor{
    public:
        CameraActor();
        void addTo(Actor* _parent);
        void setSkyBox(TextureCubePtr _tex);
        void onUpdateTransform();
        void onRendering(RenderContext& _context);

        inline Camera* getCamera(){
            return mCamera;
        }
    protected:
        Camera* mCamera;
        Drawable3D* mSkyBox;
    };

}

#endif